<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

    <ui:define name="body">

        <h1>Welcome to Seam!</h1>
        <div>
            <h:panelGrid columns="2">
			    <h:graphicImage value="/img/seamlogo.png" alt="Seam logo"/>
                <s:div styleClass="info">
                    <p><strong>Your seam-gen project is deployed!</strong> Here are some of the features this project provides:</p>
                    <ul class="bullets">
                        <li>Ant build script</li>
                        <li>Deployment to JBoss AS (EAR or WAR)</li>
                        <li>Development and production profiles</li>
                        <li>Integration testing using TestNG and Embedded JBoss</li>
                        <li>JavaBean or EJB 3.0 Seam components</li>
                        <li>JPA entity classes</li>
                        <li>A configurable DataSource and JPA EntityManager</li>
                        <li>Templated Facelets views</li>
                        <li>RichFaces panels and tables</li>
                        <li>Default CSS stylesheet</li>
                        <li>Internationalization support</li>
                    </ul>
                </s:div>
                      <h:form>
				        <table border="0">
				          <s:validateAll>
				            <tr>
				              <td>Username</td>
				              <td><h:inputText value="#{user.username}" required="true"/></td>
				            </tr>
				            <tr>
				              <td>Real Name</td>
				              <td><h:inputText value="#{user.name}" required="true"/></td>
				            </tr>
				            <tr>
				              <td>Password</td>
				              <td><h:inputSecret value="#{user.password}" required="true"/></td>
				            </tr>
				          </s:validateAll>
				        </table>
				        <h:messages/>
				        <h:commandButton value="Register" action="#{register.register}"/>
				      </h:form>
            </h:panelGrid>
        </div>

    </ui:define>
</ui:composition>
